#include <bits/stdc++.h>
#include <iostream>

using namespace std;

int main() {
    int n, i, j, k;
    
    FILE *fout = fopen("out.txt", "w");
    
    cin >> n;
    
    for (i = 1; i <= n; i++) {
        for (j = i; j <= i; j++) {
            for (k = 1; k <= j; k++) {
                fprintf(fout, "%d*%d=%d ", j, k, j * k);
            }
        }
        
        printf("%d%%\r", i * 100 / n);
        putc('\n', fout);
    }
    
    fseek(fout, 0, SEEK_END);
    printf("\n%d Kib output\n", ftell(fout) / 1024);
    fclose(fout);
    
    return 0;
}